Check for grip_window != NULL in gtk_window_draw
authorMatthias Clasen <mclasen@redhat.com>
Sat, 9 Oct 2010 00:17:51 +0000 (20:17 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 9 Oct 2010 00:19:24 +0000 (20:19 -0400)
commit2f8f0d8eabf8c6f447874f8991fb04f64d8c585b
tree41f370e14a35aa6d1a7481c9543c09cea763abb5
parentde3e7034443a3e98e9e6fffcde2f9e08b558601c
Check for grip_window != NULL in gtk_window_draw

This is safer, since GtkWindow subclasses may override realize
and end up with has_resize_grip == TRUE, but grip_window still
being NULL - as is the case with GtkPlug.
gtk/gtkwindow.c